@import '../../../../variables';

:host {
  display: block;
  text-align: left;
  // min-height: 50px;
  list-style: none;
  // add a little padding to top and bottom, to make drag dropping easier
  padding: 5px 0;
  margin: 0;
  position: relative;

  ::ng-deep task-list & {
    margin: 2px 5px 0 5px;

    @include mq(xs, max) {
      margin: 1px 0 0 10px;
    }
  }
}

:host-context(.isSmallMainContainer) {
  ::ng-deep task-list task-list {
    margin: 1px 0 0 10px;
  }
}

.done-task-box {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-tasks {
  position: absolute;
  text-align: center;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 90%;
  color: $light-theme-text-color-muted;

  @include darkTheme() {
    color: $dark-theme-text-color-muted;
  }
}

.expand-tasks-btn {
  opacity: 0.8;

  &:hover {
    opacity: 1;
  }
}

.cdk-drag-placeholder,
.cdk-drag-preview {
  border-radius: 6px;
  overflow: hidden;

  ::ng-deep .controls {
    display: none;
  }
}
